package spring.cloud.tasks.executor.executor.task.execute_statistics;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * 节点有任务的执行总次数与失败总次数
 */
@Slf4j
@Setter
@Getter
public final class ExecuteStatisticsNode {

    public static final String ROOT = "statistics";

    /**
     * 执行总次数
     **/
    public static final String total_count_delta = ROOT + "/total_count_delta/%";

    /**
     * 失败总次数
     **/
    public static final String failure_count_delta = ROOT + "/failure_count_delta/%";

    /**
     * reset 统计数据
     **/
    public static final String reset_statistics = ROOT + "/reset_statistics";
    public static final String reset_success_failure_count = "reset_success_failure_count";
}
